package net.csdn.business.notify.common.model.entity;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.notify.common.entity.SuperEntity;

import java.util.Map;

/**
 * 通知中心-模板配置对象 notify_template_seting
 * 
 * @author ruoyi
 * @date 2023-11-27
 */
@Data
@TableName(value = "notify_template_seting",autoResultMap = true)
@NoArgsConstructor
@AllArgsConstructor
public class NotifyTemplateSeting extends SuperEntity
{
    private static final long serialVersionUID = 1L;

    /** template */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private JSONObject template;

    /** 业务编码id */
    private Long businessId;

    /** 10：站内信；20：邮件；30：短信； */
    private Integer notifyChannel;

    /** 模板状态：1:打开（默认）；0关闭 */
    private Boolean state;

    /** 模板描述*/
    private String remark;


}
